.class final Lcom/waiqin365/lightapp/kehu/c/k;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Lcom/waiqin365/lightapp/kehu/c/l;


# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/waiqin365/lightapp/kehu/c/l;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/c/k;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kehu/c/k;->b:Lcom/waiqin365/lightapp/kehu/c/l;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/base/login/b/a/ag;

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/a/ag;->b()Z

    move-result v1

    if-eqz v1, :cond_1

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "dept"

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "emp"

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "cm"

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "pd"

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/db/keyvalue/e;

    const-string/jumbo v2, "linkman"

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/db/keyvalue/e;-><init>(Ljava/lang/String;Ljava/lang/Boolean;)V

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/c/k;->a:Landroid/content/Context;

    invoke-static {v1, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/c/k;->b:Lcom/waiqin365/lightapp/kehu/c/l;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/c/k;->b:Lcom/waiqin365/lightapp/kehu/c/l;

    invoke-interface {v0, v5}, Lcom/waiqin365/lightapp/kehu/c/l;->a(I)V

    goto :goto_0

    :cond_1
    iget-object v0, v0, Lcom/waiqin365/base/login/b/a/ag;->c:Ljava/lang/String;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_3

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/c/k;->a:Landroid/content/Context;

    const v1, 0x7f08013b

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/c/k;->a:Landroid/content/Context;

    invoke-static {v1, v0, v5}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/c/k;->b:Lcom/waiqin365/lightapp/kehu/c/l;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/c/k;->b:Lcom/waiqin365/lightapp/kehu/c/l;

    const/4 v1, 0x2

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/kehu/c/l;->a(I)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x13
        :pswitch_0
    .end packed-switch
.end method
